package com.example.themeleaf.entity;

import java.io.Serializable;

public class SenseData implements Serializable {
    private String taskid;

    private String userid;

    private Float sensedata;

    private Double longitude;

    private Double latitude;

    private String sensetime;

    private static final long serialVersionUID = 1L;

    public String getTaskid() {
        return taskid;
    }

    public void setTaskid(String taskid) {
        this.taskid = taskid == null ? null : taskid.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public Float getSensedata() {
        return sensedata;
    }

    public void setSensedata(Float sensedata) {
        this.sensedata = sensedata;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getSensetime() {
        return sensetime;
    }

    public void setSensetime(String sensetime) {
        this.sensetime = sensetime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", taskid=").append(taskid);
        sb.append(", userid=").append(userid);
        sb.append(", sensedata=").append(sensedata);
        sb.append(", longitude=").append(longitude);
        sb.append(", latitude=").append(latitude);
        sb.append(", sensetime=").append(sensetime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
